package com.nl.controller.web.bean;

import com.nl.controller.web.util.SetBeanUtil;

import java.util.Set;

public class SmsContent {
    private String id;  //项目id
    private String name; //项目名称
    private String cityId;//
    private  String cityName;
    private String state;  //项目状态
    private String stateName;
    private String templateState;   //模板状态
    private String templateStateName;
    private String content;  //内容
    private String newContent;  //新内容
    private String createTime;  //创建时间
    private String modifyTime;  //修改时间
    private String effectTime;  //生效时间
    private String msisdn;//操作人号码

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getStateName() {
        return SetBeanUtil.getMgrStatus(this.state);
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public String getTemplateState() {
        return templateState;
    }

    public void setTemplateState(String templateState) {
        this.templateState = templateState;
    }

    public String getTemplateStateName() {

            return SetBeanUtil.getTemplate(this.templateState);
    }

    public void setTemplateStateName(String templateStateName) {
        this.templateStateName = templateStateName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getNewContent() {
        return newContent;
    }

    public void setNewContent(String newContent) {
        this.newContent = newContent;
    }

    public String getCreateTime() {
        return SetBeanUtil.timeSubString(this.createTime);
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getModifyTime() {
        return SetBeanUtil.timeSubString(this.modifyTime);
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getEffectTime() {
        return SetBeanUtil.timeSubString(this.effectTime);
    }

    public void setEffectTime(String effectTime) {
        this.effectTime = effectTime;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return SetBeanUtil.getCityName(this.cityId);
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

	/**
	 * @return the msisdn
	 */
	public String getMsisdn() {
		return msisdn;
	}

	/**
	 * @param msisdn the msisdn to set
	 */
	public void setMsisdn(String msisdn) {
		this.msisdn = msisdn;
	}
}
